package com.kly.chatter.api.application.service;

import com.kly.chatter.api.application.controller.chatter.req.MessageNoticeReq;
import com.kly.chatter.api.application.controller.chatter.req.MessageVipNoticeReq;
import com.kly.chatter.db.entity.ChatterImRewardEntity;

import java.math.BigDecimal;

public interface ChatterImRewardService {

    Boolean haveChatterImReward(ChatterImRewardEntity chatterImRewardEntity);

    void add(ChatterImRewardEntity chatterImRewardEntity);

    void sendMessageNotice(MessageNoticeReq messageNoticeReq);

    void sendVipMessageNotice(MessageVipNoticeReq messageVipNoticeReq);

    BigDecimal getImTotalReward(String chatterCode,Integer rewardDate);

    ChatterImRewardEntity getLastRecord(String chatterCode,String modelCode,String userCode,Integer rewardDate);

}
